<template>
  <div id="app">
    <router-view ref="routeChild"></router-view>
    <uploader></uploader>
  </div>
</template>

<script>
import uploader from '@/components/uploader'

export default {
  components: {
    uploader
  },
  methods: {
    getStorage() {
      this.$refs.routeChild.$children.forEach(component => {
        if (component['getStorage']) {
          component['getStorage']();
          component.$children.forEach(c => {
            if (c['getList']) {
              c['getList']()
            }
          })
        }
      })
    }
  }
}
</script>

<style lang="less">
@font-face {
  font-family: 'PingFangSC-Semibold';
  src: url('./assets/font/PingFang-SC-Semibold.otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'PingFangSC-Regular';
  src: url('./assets/font/PingFang-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'tahoma';
  src: url('./assets/font/tahoma.ttf');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: PingFangSC-Regular, Microsoft YaHei, Arial, SimHei, tahoma, serif;
}

body, html {
    font-family: PingFangSC-Regular, Microsoft YaHei, Arial, SimHei, tahoma, serif;
}

.clearfix {
  zoom: 1;
}

.clearfix:after {
  content: '\20';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
}

.normal-dropdown {
  .popper__arrow::after {
    border-bottom-color: #2fc7fe !important;
  }
}

.svip-dropdown {
  .popper__arrow::after {
    border-bottom-color: #dd6966 !important;
  }
}

.dialog-radius {
  border-radius: 14px !important;
}
.no-padding {
  .el-dialog__body {
    padding: 0;
  }
}
</style>
